package com.guldan.jaina.provider;

import com.guldan.core.dubbo.client.ResponseDTO;
import com.guldan.core.search.Pagination;
import com.guldan.jaina.dto.household.HouseholdDTO;
import com.guldan.jaina.dto.household.HouseholdSearchDTO;

/**
 * Created by Silas.
 * Date: 2016/11/7
 * Time: 22:49
 */
public interface IHouseholdProvider {

    //获取单个家庭信息，传入：householdId
    ResponseDTO<HouseholdDTO> get(Integer var1);

    //新增/更新单个区域，传入：HouseholdDTO
    ResponseDTO<HouseholdDTO> save(HouseholdDTO var1);

    //删除单个区域，传入：householdId
    ResponseDTO<Boolean> delete(Integer var1);

    //分页获取区域信息列表，传入：检索DTO
    ResponseDTO<Pagination<HouseholdDTO>> list(HouseholdSearchDTO var1);

}
